package cn.ccit.DAO;

import java.util.List;
import cn.ccit.entites.record.CancelDishRecord;
/**
 * 
 * @author wanghao
 *  退菜记录
 */
public interface CancelDishRecordDAO {
	public boolean addCancelDishRecord(CancelDishRecord cdRecord);//添加退菜记录
	public boolean removeCancelDishRecord(CancelDishRecord cdRecord);//移除退菜记录
	public boolean changeCancelDishRecordInfo(CancelDishRecord cdRecord);//修改退菜记录
	public List<CancelDishRecord> getSomeCancelDishRecords(int start,int limit);//获取一定条数的记录
	public CancelDishRecord searchCancelDishRecordByID(int id);//获取记录通过id
	public List<CancelDishRecord> searchCancelDishRecordByYear(String year);//根据年获取数据
	public List<CancelDishRecord> searchCancelDishRecordByMonth(String month);//根据月
	public List<CancelDishRecord> searchCancelDishRecordByDate(String date);//根据日期
}
